﻿using System;

namespace ZhCun.WebCommon.ApiModels.UserBaseModels
{
    /// <summary>
    /// 登录参数
    /// </summary>
    public class UserBaseArgLogin
    {
        /// <summary>
        /// 登录名称
        /// </summary>
        public string LoginName { set; get; }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string LoginPwd { set; get; }
        /// <summary>
        /// 客户端id
        /// </summary>
        public string ClientSN { set; get; }
        /// <summary>
        /// 验证码
        /// </summary>
        public string VerifyCode { set; get; }
    }
    /// <summary>
    /// 用户信息
    /// </summary>
    public class UserBaseArgUserInfo
    {
        /// <summary>
        /// 手机号
        /// </summary>
        public string MobileNumber { set; get; }
        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName { set; get; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { set; get; }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string LoginPwd { set; get; }
    }
    /// <summary>
    /// 修改密码
    /// </summary>
    public class UserBaseArgChangePwd
    {
        /// <summary>
        /// 原密码
        /// </summary>
        public string OldPwd { set; get; }
        /// <summary>
        /// 新密码
        /// </summary>
        public string NewPwd { set; get; }
    }
    /// <summary>
    /// 用户登陆结果
    /// </summary>
    public class UserBaseRetLogin
    {
        /// <summary>
        /// 登录token
        /// </summary>
        public string Token { set; get; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime ExpiresTime { set; get; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { set; get; }
    }
}